package com.supos.progress.controller;

import javax.servlet.http.HttpServletResponse;

/**
 */
public class BaseController {
    protected void setResponse(HttpServletResponse httpServletResponse) {
        if (!httpServletResponse.containsHeader("Access-Control-Allow-Origin"))
            httpServletResponse.addHeader("Access-Control-Allow-Origin", "*");
    }
}
